#ifndef __comm_h_
#define __comm_h_ 1

#ifdef __cplusplus
extern "C" {
#endif

#define CM_VERSION_1_0 1

#define CM_MAKE_VERSION(major, minor, patch) \
	(((major) << 22) | ((minor) << 12) | (patch))

#define CM_API_VERSION CM_MAKE_VERSION(1, 0, 3)

#define VK_VERSION_MAJOR(version) ((uint32_t)(version) >> 22)
#define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3ff)
#define VK_VERSION_PATCH(version) ((uint32_t)(version) & 0xfff)



#ifdef __cplusplus
}
#endif

#endif